export interface ColumnProps {
  id: number;
  title: string;
  avatar: string;
  description: string;
}
//专栏列表数据

export const testData: ColumnProps[] = [
  {
    id: 1,
    title: "test的专栏",
    description: "这个非常有意思",
    avatar:
      "https://img.wxcha.com/m00/ce/25/ef89cd675b6ee8826846b3b008181c0f.jpg?down",
  },
  {
    id: 2,
    title: "test的专栏",
    description: "这个非常有意思",
    avatar:
      "https://img.wxcha.com/m00/e2/d8/7b715d6aeee61f9cf108b10feec0a73f.jpg?down",
  },
  {
    id: 3,
    title: "test的专栏",
    description: "这个非常有意思",
    avatar:
      "https://ts1.cn.mm.bing.net/th/id/R-C.865ac64da696cef75fc8f7e37715006c?rik=y45O8Jjs97GEdQ&riu=http%3a%2f%2fimg.pconline.com.cn%2fimages%2fupload%2fupc%2ftx%2fwallpaper%2f1207%2f11%2fc2%2f12299476_1341985982518.jpg&ehk=f4HxQvAsytjghOwVgbCNMDtrTZhSdFd2JwTw4GgDG58%3d&risl=&pid=ImgRaw&r=0",
  },
  {
    id: 4,
    title: "test的专栏",
    description: "这个非常有意思",
    avatar: "",
  },
];

export interface PostProps {
  id: number;
  title: string;
  content: string; //内容
  image?: string; //图片
  createdAt: string; //创建时间
  columnId: number; //文章id，你点开的文章要和文章id做匹配
}

export const testProps: PostProps[] = [
  {
    id: 1,
    title: "这是我第一篇文章",
    content: "cxvhbjkn",
    image:
      "https://img.wxcha.com/m00/ce/25/ef89cd675b6ee8826846b3b008181c0f.jpg?down",
    createdAt: "2023-04-12",
    columnId: 1, //这个id和你上边id匹配
  },
  {
    id: 1,
    title: "这是我第二篇文章",
    content: "cxvhbjkn",
    image:
      "https://img.wxcha.com/m00/ce/25/ef89cd675b6ee8826846b3b008181c0f.jpg?down",
    createdAt: "2023-04-12",
    columnId: 2, //这个id和你上边id匹配
  },
];
